/** @format */

import axios from '@/utils/request'

// 库房装具树
export function cabinetTree(params) {
  return axios.get('/rfid/virtualRepository/cabinetTree', { params: params })
}
// 虚拟装具
export function virtualRepositoryCabinet(cabinetId) {
  return axios.get('/rfid/virtualRepository/cabinet', { params: { cabinetId: cabinetId } })
}
// 面虚拟库位
export function cabinetDiv(params) {
  return axios.get('/rfid/virtualRepository/cabinetDiv', { params })
}
// 获取虚拟装具集合
export function allCabinet(repositoryId) {
  return axios.get('/rfid/virtualRepository/allCabinet', { params: { repositoryId: repositoryId } })
}
// 装具列信息-列表查询 (不需要token)
export function basCabinetCol(cabinetId) {
  return axios.get('/basCabinetCol/list', { params: { cabinetId: cabinetId } })
}
